#ifndef _SENSOR_MANAGER_H
#define _SENSOR_MANAGER_H


typedef struct SensorDataEvent {
	char *name;
	char databuf[100];
}SensorDataEvent, *PSensorDataEvent;

typedef struct SensorDevice {
	char *name;
	char databuf[100];
	int (*GetSensorDataEvent)(void);
	int (*DeviceInit)(void);
	int (*DeviceExit)(void);
	struct SensorDevice *ptNext;
}SensorDevice, *PSensorDevice;

void RegisterSensorDevice(PSensorDevice ptSensorDev);
void SensorSystemRegister(void);
void SensorDeviceInit(void);
int GetSensorDataEvent(void);

#endif




